﻿using Architecture.Domain;
using Architecture.Repository.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Repository.Impl
{
    public class CountryRepository : BaseRepository<County>, ICountryRepository
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="context">数据库上下文</param>
        public CountryRepository(EFCoreContext context) : base(context)
        {

        }

        public async Task<List<County>> GetAllAsync(Expression<Func<County, bool>> expre)
        {
            return await base.GetAsync(expre);
        }

    }
}
